package com.gxuwu.admin.service;

import com.gxuwu.admin.entity.Permission;

import java.util.List;
import java.util.Map;

public interface PermissionService {

    public List<Permission>  getAllPermission();


    void doAssign(String roleId, String[] permissionIdList);

    Map<String,List<Permission>> toAssign(String roleId);
}
